package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * Dify应用配置对象 dify_applications
 * 
 * @author xiaoyilala
 * @date 2025-07-22
 */
public class DifyApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 应用名称(后台管理用) */
    @Excel(name = "应用名称")
    private String appName;


    /** 应用描述 */
    @Excel(name = "应用描述")
    private String description;

    /** 应用图标URL */
    @Excel(name = "应用图标URL")
    private String iconUrl;

    /** Dify应用固定URL */
    @Excel(name = "Dify应用固定URL")
    private String difyUrl;

    /** 状态 (0=草稿/未发布, 1=已发布) */
    @Excel(name = "状态 (0=草稿/未发布, 1=已发布)")
    private String status;
    @Excel(name = "app密钥")
    private String appKey;

    /** 排序值(越小越靠前) */
    @Excel(name = "排序值(越小越靠前)")
    private Integer sortOrder;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAppName(String appName) 
    {
        this.appName = appName;
    }

    public String getAppName() 
    {
        return appName;
    }



    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setIconUrl(String iconUrl) 
    {
        this.iconUrl = iconUrl;
    }

    public String getIconUrl() 
    {
        return iconUrl;
    }

    public void setDifyUrl(String difyUrl) 
    {
        this.difyUrl = difyUrl;
    }

    public String getDifyUrl() 
    {
        return difyUrl;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setSortOrder(Integer sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder() 
    {
        return sortOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appName", getAppName())
            .append("description", getDescription())
            .append("iconUrl", getIconUrl())
            .append("difyUrl", getDifyUrl())
            .append("status", getStatus())
            .append("sortOrder", getSortOrder())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
